package com.adapter;

/**
 * @ClassName: RoundHole
 * @Description:
 * @Author Fly
 * @Date 2022/12/19 15:01
 */
public class RoundHole {
    private double radius;// 半径

    public RoundHole(double radius) {
        this.radius = radius;
    }

    public double getRadius() {
        return this.radius;
    }

    public boolean fits(RoundPeg roundPeg) {
        boolean result;
        result = (this.getRadius() >= roundPeg.getRadius());
        return result;
    }

}
